package com.example.demo.config;

import java.util.Map;

public class MailServerConfig {

    private Map<String, Protocol> host;
    private Map<String, String> properties;

    public Map<String, Protocol> getHost() {
        return host;
    }

    public void setHost(Map<String, Protocol> host) {
        this.host = host;
    }

    public Map<String, String> getProperties() {
        return properties;
    }

    public void setProperties(Map<String, String> properties) {
        this.properties = properties;
    }

    public static class Protocol {

        private String host;
        private String port;
        private String securityPort;
        private String protocol;

        public String getHost() {
            return host;
        }

        public void setHost(String host) {
            this.host = host;
        }

        public String getPort() {
            return port;
        }

        public void setPort(String port) {
            this.port = port;
        }

        public String getSecurityPort() {
            return securityPort;
        }

        public void setSecurityPort(String securityPort) {
            this.securityPort = securityPort;
        }

        public String getProtocol() {
            return protocol;
        }

        public void setProtocol(String protocol) {
            this.protocol = protocol;
        }
    }


}
